package com.guanzi.big_data_mq_process.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * (Users)表实体类
 *
 * @author xuguang
 * @since 2025-05-06 21:57:45
 */
@Data
@TableName("users")
public class Users implements Serializable {

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;


    private String userName;


    private String userEmail;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createdAt;


}
